<template>
  <div>
    <el-config-provider :locale="locale">
      <!-- <router-view v-if="isRouterActive"></router-view> -->
      <router-view></router-view>
    </el-config-provider>
  </div>
</template>

<script setup lang="ts">
import { ElConfigProvider } from "element-plus"
import zhCn from "element-plus/lib/locale/lang/zh-cn"
const locale = ref(zhCn)
// const isRouterActive = ref(true)
// provide("reload", () => {
//   isRouterActive.value = false
//   nextTick(() => {
//     isRouterActive.value = true
//   })
// })
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
</style>
